package org.example.cet.demos.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.cet.demos.domain.dto.ClassroomDto;
import org.example.cet.demos.domain.dto.StudentDto;
import org.example.cet.demos.domain.po.Classroom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.cet.demos.domain.po.Student;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hq
 * @since 2024-12-18
 */
@Mapper
public interface ClassroomMapper extends BaseMapper<Classroom> {
    ArrayList<Classroom> getPage(String id);
    List<StudentDto> findStu(String id);
    List<ClassroomDto> getList();
}
